package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import p014ae.C0172v6;
import p089d.C2421c;
import p325m0.MutabilityOwnership;

/* compiled from: SubscriptionItem.kt */
/* renamed from: jp.pxv.android.commonObjects.model.SubscriptionItem */
/* loaded from: classes2.dex */
public final class SubscriptionItem {
    private final int month;
    private final String price;
    private final double priceAmount;
    private final String priceCurrencyCode;
    private final String proudctId;

    public SubscriptionItem(String str, String str2, double d, String str3, int i) {
        MutabilityOwnership.m3745m(str, "proudctId");
        MutabilityOwnership.m3745m(str2, "price");
        MutabilityOwnership.m3745m(str3, "priceCurrencyCode");
        this.proudctId = str;
        this.price = str2;
        this.priceAmount = d;
        this.priceCurrencyCode = str3;
        this.month = i;
    }

    public static /* synthetic */ SubscriptionItem copy$default(SubscriptionItem subscriptionItem, String str, String str2, double d, String str3, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = subscriptionItem.proudctId;
        }
        if ((i2 & 2) != 0) {
            str2 = subscriptionItem.price;
        }
        if ((i2 & 4) != 0) {
            d = subscriptionItem.priceAmount;
        }
        if ((i2 & 8) != 0) {
            str3 = subscriptionItem.priceCurrencyCode;
        }
        if ((i2 & 16) != 0) {
            i = subscriptionItem.month;
        }
        return subscriptionItem.copy(str, str2, d, str3, i);
    }

    public final String component1() {
        return this.proudctId;
    }

    public final String component2() {
        return this.price;
    }

    public final double component3() {
        return this.priceAmount;
    }

    public final String component4() {
        return this.priceCurrencyCode;
    }

    public final int component5() {
        return this.month;
    }

    public final SubscriptionItem copy(String str, String str2, double d, String str3, int i) {
        MutabilityOwnership.m3745m(str, "proudctId");
        MutabilityOwnership.m3745m(str2, "price");
        MutabilityOwnership.m3745m(str3, "priceCurrencyCode");
        return new SubscriptionItem(str, str2, d, str3, i);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SubscriptionItem)) {
            return false;
        }
        SubscriptionItem subscriptionItem = (SubscriptionItem) obj;
        return MutabilityOwnership.m3749h(this.proudctId, subscriptionItem.proudctId) && MutabilityOwnership.m3749h(this.price, subscriptionItem.price) && MutabilityOwnership.m3749h(Double.valueOf(this.priceAmount), Double.valueOf(subscriptionItem.priceAmount)) && MutabilityOwnership.m3749h(this.priceCurrencyCode, subscriptionItem.priceCurrencyCode) && this.month == subscriptionItem.month;
    }

    public final int getMonth() {
        return this.month;
    }

    public final String getPrice() {
        return this.price;
    }

    public final double getPriceAmount() {
        return this.priceAmount;
    }

    public final String getPriceCurrencyCode() {
        return this.priceCurrencyCode;
    }

    public final String getProudctId() {
        return this.proudctId;
    }

    public int hashCode() {
        int a = C0172v6.m12134a(this.price, this.proudctId.hashCode() * 31, 31);
        long doubleToLongBits = Double.doubleToLongBits(this.priceAmount);
        return C0172v6.m12134a(this.priceCurrencyCode, (a + ((int) (doubleToLongBits ^ (doubleToLongBits >>> 32)))) * 31, 31) + this.month;
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("SubscriptionItem(proudctId=");
        c.append(this.proudctId);
        c.append(", price=");
        c.append(this.price);
        c.append(", priceAmount=");
        c.append(this.priceAmount);
        c.append(", priceCurrencyCode=");
        c.append(this.priceCurrencyCode);
        c.append(", month=");
        return C2421c.m7803c(c, this.month, ')');
    }
}
